import { init } from 'snabbdom/src/package/init';
import { h } from 'snabbdom/src/package/h';

let patch = init([]);

let vnode = h('div', 'hello div', [
  h('h1', 'this is h1'),
  h('h2', 'this is h2')
]);
let app = document.getElementById('app');

patch(app, vnode);
